home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12747 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news.netxpress.com!root
  2. From: ghporter@NetXpress.com (Glenn H. Porter)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: Thu, 21 Mar 1996 14:18:40 GMT
  6. Organization: Digital Alpha Server NetXpress.com
  7. Message-ID: <4iroks$j1b@ferrari.NetXpress.com>
  8. References: <4iah20$p7k@saba.info.ucla.edu> <DoD6CB.3Kq@hkuxb.hku.hk>
  9. NNTP-Posting-Host: ppp-1-18.netxpress.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. I missed the original post on this thread, but I have a couple of
  13. observations about ADA vs C.
  14.  
  15. First, ADA was invented so that DoD could have a single, maintainable
  16. sourcecode language for all _embedded_ computing systems (check the
  17. legislation on this--embedded systems are specifically stated in the
  18. statute).  At the time the requirement was stated, C was a private
  19. language, and the whole community was awash with different,
  20. incompatable versions of a number of languages that we'd call "stupid"
  21. or worse today.
  22.  
  23. Second, a large number of customers in DoD have missed the meaning of
  24. "embedded systems", and therein lies the crux of the I/O problem.  An
  25. embedded system is a computer that, say, runs a targeting computer on
  26. a fighter, or the navigation system on a missile.  The I/O is hardware
  27. dependent, but the software must not be, because the system may be
  28. upgraded at any time for new functionality or differing missions or
  29. threats.  There are _no_ embedded desktop applications.  I've seen an
  30. application that was embedded but ran on an Intel-based laptop.  This
  31. program was not much more than a text processor that told
  32. microprocessor-controlled radios what to do and told the operator what
  33. they said in return.  The silly thing was almost 200k of executable!
  34. But it was maintainable, and that's the key.
  35.  
  36. That said, I think ADA is a great language for applications that use
  37. hardware I/O, because the hard part is taken care of by the hardware.
  38. The meaning of the input, and the outputs needed are the business of
  39. the programmer.
  40.  
  41. Finally, the replies on this thread seem to have degenerated to the
  42. level of C programmers snapping at each other.  How does that fit in
  43. on the thread?
  44.  
  45. Glenn
  46.  
  47.